package com.kgc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@RequestMapping("/orders")
@Controller
public class OrderController {

    @GetMapping("/hello")
    @ResponseBody
    public String msg(){
        return "Hello Git";
    }

    @GetMapping("/hello2")
    @ResponseBody
    public String msg2(){
        return "Hello Git2";
    }
}
